﻿@model Setting
@using EasyMvc.Config
@using EasyMvc.Controls
@{
    Layout = "~/Areas/MWeb/Views/Shared/_Layout.Edit.cshtml";
}
@section PageSpecificStyleSheetIncludes{
    <style type="text/css"> 
        
    </style>
}
@section PageSpecificJavascriptIncludes{
    <script type="text/javascript">
        $(document).ready(function () {
            //Init Map
            $("#tabs").tabs();
        });
   </script>
}
@section MainContent{
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">网站配置</a></li>
            <li><a href="#tabs-2">其他配置</a></li>
        </ul>
        <div id="tabs-1">
            <fieldset>
                <legend>前端网站配置</legend>
                <div class="editItem">
                     <span class="label">@Html.Label("PortalSetting.Name")：</span>
                    @Html.TextBox("PortalSetting.Name")
                    @Html.ValidationMessage("PortalSetting.Name")
                </div>

                <div class="editItem">
                     <span class="label">@Html.Label("PortalSetting.Title")：</span>
                    @Html.TextBox("PortalSetting.Title")
                    @Html.ValidationMessage("PortalSetting.Title")
                </div>

                <div class="editItem">
                     <span class="label">@Html.Label("PortalSetting.Email")：</span>
                    @Html.TextBox("PortalSetting.Email")
                    @Html.ValidationMessage("PortalSetting.Email")
                </div>

                <div class="editItem">
                     <span class="label">@Html.Label("PortalSetting.Announcement")：</span>
                    @Html.TextBox("PortalSetting.Announcement")
                    @Html.ValidationMessage("PortalSetting.Announcement")
                </div>

                <div class="editItem">
                     <span class="label">@Html.Label("PortalSetting.Copyright")：</span>
                    @Html.TextBox("PortalSetting.Copyright")
                    @Html.ValidationMessage("PortalSetting.Copyright")
                </div>
            </fieldset>
        </div>
        <div id="tabs-2">
            <fieldset>
                <legend>其他配置</legend>
            </fieldset>
        </div>
    </div>
}


